export const isObject = (val: any) => {
  return Object.prototype.toString.call(val) === '[object Object]'
}

export const isEmptyObject = (val: any) => {
  return isObject(val) && Object.keys(val).length === 0
}
